package cn.masterj.springcloud.service.impl;

import cn.masterj.springcloud.service.IPaymentService;
import org.springframework.stereotype.Component;

/**
 * @author masterJ
 * @create 2020-04-10 23:00
 */
@Component
public class PaymentServiceFallback implements IPaymentService {

    @Override
    public String payment_ok() {
        return "我是PaymentServiceFallback==》payment_ok";
    }

    @Override
    public String payment_timeout() {
        return "我是PaymentServiceFallback==》payment_timeout";
    }

    @Override
    public String payment_exception() {
        return "我是PaymentServiceFallback==》payment_exception";
    }

    @Override
    public String payment_circuit(Long id) {
        return "我是PaymentServiceFallback==》payment_circuit";
    }
}
